package com.xsoft.logic.model;

import java.sql.Timestamp;
import java.util.Date;

/**
 * GameRefBatch entity. @author MyEclipse Persistence Tools
 */

public class GameRefBatch extends com.xsoft.framework.po.IdPersistent implements
		java.io.Serializable
{

	// Fields

	private Integer id;
	private String batchCode;
	private String gameName;
	private String fuliType;
	private String imgSrc;
	private String title;
	private String descStr;
	private Integer ncount;
	private Integer useCount;
	private String state;
	private Date starttime;
	private Date endtime;
	private Date createtime;
	
	
	
	private String flag ; // 1:已领取过
	private String starttime1;
	private String endtime1;
	
	// Constructors

	public String getFlag()
	{
		return flag;
	}

	public String getStarttime1()
	{
		return starttime1;
	}

	public void setStarttime1(String starttime1)
	{
		this.starttime1 = starttime1;
	}

	public String getEndtime1()
	{
		return endtime1;
	}

	public void setEndtime1(String endtime1)
	{
		this.endtime1 = endtime1;
	}

	public void setFlag(String flag)
	{
		this.flag = flag;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	/** default constructor */
	public GameRefBatch()
	{
	}

	/** minimal constructor */

	/** full constructor */
	public GameRefBatch(int id, String gameName, String fuliType,
			String imgSrc, String title, String descStr, Integer ncount,
			Integer useCount, String state, Timestamp starttime,
			Timestamp endtime)
	{
		this.id = id;
		this.gameName = gameName;
		this.fuliType = fuliType;
		this.imgSrc = imgSrc;
		this.title = title;
		this.descStr = descStr;
		this.ncount = ncount;
		this.useCount = useCount;
		this.state = state;
		this.starttime = starttime;
		this.endtime = endtime;
	}

	// Property accessors


	public String getGameName()
	{
		return this.gameName;
	}

	public void setGameName(String gameName)
	{
		this.gameName = gameName;
	}

	public String getFuliType()
	{
		return this.fuliType;
	}

	public void setFuliType(String fuliType)
	{
		this.fuliType = fuliType;
	}

	public String getImgSrc()
	{
		return this.imgSrc;
	}

	public void setImgSrc(String imgSrc)
	{
		this.imgSrc = imgSrc;
	}

	public String getTitle()
	{
		return this.title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

	public String getDescStr()
	{
		return this.descStr;
	}

	public void setDescStr(String descStr)
	{
		this.descStr = descStr;
	}

	public Integer getNcount()
	{
		return this.ncount;
	}

	public void setNcount(Integer ncount)
	{
		this.ncount = ncount;
	}

	public Integer getUseCount()
	{
		return this.useCount;
	}

	public void setUseCount(Integer useCount)
	{
		this.useCount = useCount;
	}

	public String getState()
	{
		return this.state;
	}

	public void setState(String state)
	{
		this.state = state;
	}


	public Date getStarttime() {
		return starttime;
	}

	public Date getEndtime() {
		return endtime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBatchCode() {
		return batchCode;
	}

	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}


}